<?php 
	$this->title = 'Page dacceuil';
	$this->headTitle($this->title);
?>


<center>

<table class="table table-striped" style="width: 99.99999998999999%;"  >
<thead>

<?php
 // Render each the title of each post for the current page in a list-item
	foreach ($this->paginator as $item) {		   
		foreach ($item as $key => $value) 
		{	
			if(isset($this->header[$key]) && !empty($this->header[$key])){
?>
	<th>
		<?php echo $this->header[$key]; ?>
	</th>
	
		<?php } }?>
	
	<th>
		Decision
	</th>						 		
	<th>
	Depot
	</th>
		<th>
		Identification du module
	</th>	
		<th>
	Fiche
	</th>
		<?php break;}?>	
</thead><tbody>

<?php 	
		$i=0;
	foreach ($this->paginator as $item) {
	
?>
<tr> 

<?php 	
	foreach ($item as $key => $value) 
	{
		if(isset($this->header[$key]) && !empty($this->header[$key])){
						 
?>
	<td> 
	<?php echo $value; ?>
 	</td>
	<?php } }?>
						
	<td>
	   	<a href="decision?height=315&width=360&id=myOnPageContent<?php echo $i;?>&idsoum=<?php echo $item['SOUMISSIONS_idSOUMISSIONS']?>&idperso=<?php echo $item['CODEINSCRIPTION'];?>" class="thickbox" title="Please Sign In">Decission</a>
	
		<div id="myOnPageContent<?php echo $i;?>" style= "display: none";>
			<?php $this->form;?>

		</div>
		
	</td> 
	<td>
		<a  href="<?php echo $this->url(array("action"=>"depot","controller"=>"index","module"=>"admin","idsoum"=>$item['SOUMISSIONS_idSOUMISSIONS']));?>">Depot</a>
	</td>
	
		<td>
		<a href="<?php echo $this->url(array("action"=>"identmodule","controller"=>"index","module"=>"admin","idsoum"=>$item['SOUMISSIONS_idSOUMISSIONS'],"idDIPLOMES"=>$item['DIPLOMES_idDIPLOMES']));?>">Identification</a>
	</td>
	
	<td>
	 
		<a href="<?php echo $this->url(array("action"=>"fiche","controller"=>"index","module"=>"admin","idsoum"=>$item['SOUMISSIONS_idSOUMISSIONS'],"idoperation"=>$item['idOPERATION_ADMISSION']));?>">Fiche( <?php  echo $item['oplabel'] ?> )</a>
	 		
	 </td>

</tr>
		<?php	 $i++; }?>

</tbody></table>
</center>

		
<?php // echo $this->paginator; ?>

